﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006A5 RID: 1701
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetCurLineupDataScRsp : IMessage<GetCurLineupDataScRsp>, IMessage, IEquatable<GetCurLineupDataScRsp>, IDeepCloneable<GetCurLineupDataScRsp>, IBufferMessage
	{
		// Token: 0x170015EA RID: 5610
		// (get) Token: 0x06004CB3 RID: 19635 RVA: 0x000D1E2D File Offset: 0x000D002D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetCurLineupDataScRsp> Parser
		{
			get
			{
				return GetCurLineupDataScRsp._parser;
			}
		}

		// Token: 0x170015EB RID: 5611
		// (get) Token: 0x06004CB4 RID: 19636 RVA: 0x000D1E34 File Offset: 0x000D0034
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetCurLineupDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170015EC RID: 5612
		// (get) Token: 0x06004CB5 RID: 19637 RVA: 0x000D1E46 File Offset: 0x000D0046
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetCurLineupDataScRsp.Descriptor;
			}
		}

		// Token: 0x06004CB6 RID: 19638 RVA: 0x000D1E4D File Offset: 0x000D004D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetCurLineupDataScRsp()
		{
		}

		// Token: 0x06004CB7 RID: 19639 RVA: 0x000D1E58 File Offset: 0x000D0058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetCurLineupDataScRsp(GetCurLineupDataScRsp other) : this()
		{
			this.lineup_ = ((other.lineup_ != null) ? other.lineup_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004CB8 RID: 19640 RVA: 0x000D1EA4 File Offset: 0x000D00A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetCurLineupDataScRsp Clone()
		{
			return new GetCurLineupDataScRsp(this);
		}

		// Token: 0x170015ED RID: 5613
		// (get) Token: 0x06004CB9 RID: 19641 RVA: 0x000D1EAC File Offset: 0x000D00AC
		// (set) Token: 0x06004CBA RID: 19642 RVA: 0x000D1EB4 File Offset: 0x000D00B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LineupInfo Lineup
		{
			get
			{
				return this.lineup_;
			}
			set
			{
				this.lineup_ = value;
			}
		}

		// Token: 0x170015EE RID: 5614
		// (get) Token: 0x06004CBB RID: 19643 RVA: 0x000D1EBD File Offset: 0x000D00BD
		// (set) Token: 0x06004CBC RID: 19644 RVA: 0x000D1EC5 File Offset: 0x000D00C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06004CBD RID: 19645 RVA: 0x000D1ECE File Offset: 0x000D00CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetCurLineupDataScRsp);
		}

		// Token: 0x06004CBE RID: 19646 RVA: 0x000D1EDC File Offset: 0x000D00DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetCurLineupDataScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.Lineup, other.Lineup) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004CBF RID: 19647 RVA: 0x000D1F2C File Offset: 0x000D012C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.lineup_ != null)
			{
				num ^= this.Lineup.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004CC0 RID: 19648 RVA: 0x000D1F81 File Offset: 0x000D0181
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004CC1 RID: 19649 RVA: 0x000D1F89 File Offset: 0x000D0189
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004CC2 RID: 19650 RVA: 0x000D1F94 File Offset: 0x000D0194
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this.lineup_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.Lineup);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004CC3 RID: 19651 RVA: 0x000D1FF0 File Offset: 0x000D01F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.lineup_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Lineup);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004CC4 RID: 19652 RVA: 0x000D2048 File Offset: 0x000D0248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetCurLineupDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.lineup_ != null)
			{
				if (this.lineup_ == null)
				{
					this.Lineup = new LineupInfo();
				}
				this.Lineup.MergeFrom(other.Lineup);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004CC5 RID: 19653 RVA: 0x000D20B0 File Offset: 0x000D02B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004CC6 RID: 19654 RVA: 0x000D20BC File Offset: 0x000D02BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					if (num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.lineup_ == null)
						{
							this.Lineup = new LineupInfo();
						}
						input.ReadMessage(this.Lineup);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001E49 RID: 7753
		private static readonly MessageParser<GetCurLineupDataScRsp> _parser = new MessageParser<GetCurLineupDataScRsp>(() => new GetCurLineupDataScRsp());

		// Token: 0x04001E4A RID: 7754
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001E4B RID: 7755
		public const int LineupFieldNumber = 14;

		// Token: 0x04001E4C RID: 7756
		private LineupInfo lineup_;

		// Token: 0x04001E4D RID: 7757
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04001E4E RID: 7758
		private uint retcode_;
	}
}
